package com.guoning.office_system.model;

import java.util.Date;

public class RoleFunction {
    private Long id;

    private Long roleId;

    private String roleCode;

    private Long funcId;

    private String funcCode;

    private String creator;

    private Date createTime;

    private String modifier;

    private Date modifiedTime;

    private Date ts;

    private Integer dr;

    public RoleFunction(Long id, Long roleId, String roleCode, Long funcId, String funcCode, String creator, Date createTime, String modifier, Date modifiedTime, Date ts, Integer dr) {
        this.id = id;
        this.roleId = roleId;
        this.roleCode = roleCode;
        this.funcId = funcId;
        this.funcCode = funcCode;
        this.creator = creator;
        this.createTime = createTime;
        this.modifier = modifier;
        this.modifiedTime = modifiedTime;
        this.ts = ts;
        this.dr = dr;
    }

    public RoleFunction() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public Long getFuncId() {
        return funcId;
    }

    public void setFuncId(Long funcId) {
        this.funcId = funcId;
    }

    public String getFuncCode() {
        return funcCode;
    }

    public void setFuncCode(String funcCode) {
        this.funcCode = funcCode == null ? null : funcCode.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }
}